//
//  TZChooseCategoryView.h
//  CDITVDuke
//
//  Created by ChengPeiYong on 2017/5/15.
//  Copyright © 2017年 CDITVD. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TZImagePickerController.h"

@protocol TZChooseCategoryViewDelegate <NSObject>
-(void)didFinishChoose:(TZAlbumModel *)model andIndex:(int )index;
-(void)didErrorChoose;
@end

@interface TZChooseCategoryView : UIView


@property (weak,nonatomic) id<TZChooseCategoryViewDelegate> delegate;
@property (assign, nonatomic) int selectIndex;

- (instancetype)initWithFrame:(CGRect)frame and:(TZImagePickerController *)imagePickerVc;

- (void)reload:(TZImagePickerController *)imagePickerVc;

- (void)startAnimation;

- (void)revertAnimation;

@end
